from flask import Flask

app = Flask(__name__)

@app.route('/article/<id>')
def index(id):
    print(id)
    return f'返回了文章id:{id}'

if __name__ == '__main__':
    app.run(debug=True)